package com.owen.blog.dao;

import com.owen.blog.domain.BlogLabel;
import com.owen.blog.vo.BlogLabelVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 文章标签Dao
 */
public interface BlogLabelDao {

    BlogLabelVO get(@Param("id") String id);

    List<BlogLabelVO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(BlogLabel blogLabel);

    int update(BlogLabel blogLabel);

    int remove(@Param("id") String id);

    int batchRemove(String[] ids);

    List<BlogLabelVO> findAll();

}
